using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace DataModels.Models
{
    [Table("FacilitiesReports")]
    public partial class FacilitiesReport
    {
        public Nullable<int> RegionID { get; set; }

        [Required]
        [StringLength(50)]
        [Key, Column(Order = 0)]
        public string RegionName { get; set; }

        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        [Key, Column(Order = 1)]
        public int DistrictID { get; set; }

        [Required]
        [StringLength(50)]
        [Key, Column(Order = 2)]
        public string DistrictName { get; set; }

        [StringLength(50)]
        public string FacilityCode { get; set; }

        [StringLength(250)]
        [Required]
        [Key, Column(Order = 3)]
        public string FacilityName { get; set; }
        public Nullable<int> ReportID { get; set; }
        public Nullable<int> ReportDataPosition { get; set; }

        [StringLength(50)]
        public string ReportData { get; set; }
        public Nullable<int> Year { get; set; }
        public Nullable<int> Month { get; set; }
    }
}
